<template>
	<view>
		<video :src="item.playUrl" object-fit="cover" 
		:loop="true" :duration = "item.duration" :controls="false" 
		:show-center-play-btn= "false"></video>
	</view>
</template>

<script>
	export default {
		name:"my-video",
		data() {
			return {
				
			};
		},
		props:{
			item: {
				type: Object,
				default: {}
			},
		},
		mounted() {
			
		}
	}
</script>

<style lang="scss">
video{
width: 100%;
height: 400rpx;
display: block;
}
</style>